package com.czxy.admin.domain;

import java.io.Serializable;

/**
 * 文章和标签关联
 * @author xuhongzu
 * @version 1.0
 * @date 2019/4/24
 */
public class ArticleTagRef implements Serializable {
    /** 文章id */
    private Integer articleId;
    /** 标签id */
    private Integer tagId;

    @Override
    public String toString() {
        return "ArticleTagRef{" +
                "articleId=" + articleId +
                ", tagId=" + tagId +
                '}';
    }

    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }

    public Integer getTagId() {
        return tagId;
    }

    public void setTagId(Integer tagId) {
        this.tagId = tagId;
    }

    public ArticleTagRef() {
    }

    public ArticleTagRef(Integer articleId, Integer tagId) {
        this.articleId = articleId;
        this.tagId = tagId;
    }
}

